/**
 * 
 */
package kulstats;

import java.util.Date;

/**
 * @author steven
 *
 */
public class Milestone {
	private Date startDate, stopDate;
	private boolean predefined;
	private Course course;
	private int hours;
	private boolean reached;
	private int points;
	
	/**
	 * @param startDate
	 * @param stopDate
	 * @param predefined
	 * @param course
	 * @param hours
	 * @param reached
	 * @param points
	 */
	public Milestone(Date startDate, Date stopDate,
			boolean predefined, Course course, int hours, boolean reached) {
		super();
		this.startDate = startDate;
		this.stopDate = stopDate;
		this.predefined = predefined;
		this.course = course;
		this.hours = hours;
		this.reached = reached;
		this.points = 0;
	}
	
	/**
	 * @return the startDate
	 */
	public Date getStartDate() {
		return startDate;
	}
	/**
	 * @param startDate the startDate to set
	 */
	public void setStartDate(Date startDate) {
		this.startDate = startDate;
	}
	/**
	 * @return the stopDate
	 */
	public Date getStopDate() {
		return stopDate;
	}
	/**
	 * @param stopDate the stopDate to set
	 */
	public void setStopDate(Date stopDate) {
		this.stopDate = stopDate;
	}
	/**
	 * @return the predefined
	 */
	public boolean isPredefined() {
		return predefined;
	}
	/**
	 * @param predefined the predefined to set
	 */
	public void setPredefined(boolean predefined) {
		this.predefined = predefined;
	}
	/**
	 * @return the course
	 */
	public Course getCourse() {
		return course;
	}
	/**
	 * @param course the course to set
	 */
	public void setCourse(Course course) {
		this.course = course;
	}
	/**
	 * @return the hours
	 */
	public int getHours() {
		return hours;
	}
	/**
	 * @param hours the hours to set
	 */
	public void setHours(int hours) {
		this.hours = hours;
	}
	/**
	 * @return the reached
	 */
	public boolean isReached() {
		return reached;
	}
	/**
	 * @param reached the reached to set
	 */
	public void setReached(boolean reached) {
		this.reached = reached;
	}
	/**
	 * @return the points
	 */
	public int getPoints() {
		return points;
	}
	/**
	 * @param points the points to set
	 */
	public void setPoints(int points) {
		this.points = points;
	}
	
	
}
